package com.itcam.interview.pro00.disignmodel.strategy;

// 20% 折扣策略
class TwentyPercentDiscountStrategy implements DiscountStrategy {
    @Override
    public double applyDiscount(double price) {
        return price * 0.8;
    }
}